package mysql

import "gorm.io/gorm"

type Answer struct {
	gorm.Model
	QuestionId uint   `gorm:"index"`
	UserId     string `gorm:"index"`
	Content    string
}

// TableName returns the table name of the Action model
func (a *Answer) TableName() string {
	return "answers"
}
